﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcCarConsume.Domain.Entites;

namespace MvcCarConsume.Domain
{
    public interface IAdminService
    {
        IEnumerable<Car> CarsManage();
        bool DeleteCar(int id);
        bool AddCar(Car car);
        Car GetCar(int id);
        bool SaveCar(Car car);
        IEnumerable<Order> OrdersManage();
        bool DeleteOrder(int id);
        bool AddOrder(Order order);
        Order GetOrder(int id);
        bool SaveOrder(Order order);
    }
}
